# 写入控制台而不添加新行
Write-Host "no newline test " -NoNewline
Write-Host "second string"

# 写入控制台并包含分隔符
# 有一种独特的美
Write-Host (2,4,6,8,10,12) -Separator "+2="


# 使用不同的文本和背景颜色进行写入
# 这个炫酷欸

Write-Host (2,4,6,8,10,12) -Separator ", -> " -ForegroundColor DarkGreen -BackgroundColor White

# 使用不同的文本和背景颜色进行写入
Write-Host "Red on white text." -ForegroundColor red -BackgroundColor white

# 禁止显示来自Write-Host的输出
# The following two statements can be used to effectively suppress output from Write-Host
Write-Host "I won't print" -InformationAction Ignore
Write-Host "I won't print" 6 > $null

# 颜色这里要背诵